package battleship;


public class UserWinLoseInformation {
	public String name;
	public int winPoints;
	public int losePoints;
	public double winPercentage;
	
	
	public UserWinLoseInformation(String name, int winPoints, int losePoints) {
		super();
		this.name = name;
		this.winPoints = winPoints;
		this.losePoints = losePoints;
		this.winPercentage=Math.round(((double)winPoints /(winPoints +  losePoints)*100)*100.0)/100.0;
	}
	

}
